define(function(require){
	var $ = require("jquery");
	var justep = require("$UI/system/lib/justep");
	var Model = function(){
		this.callParent();
	};
    
    Model.prototype.getContactInfo = function(key){
        
    	var comunityInfo = JSON.parse(localStorage.getItem("userInfo")).data[2];
    	 console.log(key,comunityInfo[key]);
    	return comunityInfo[key];
    };

	Model.prototype.backBtnClick = function(event){
		this.comp("windowReceiver1").windowEnsure();
		this.getParentModel().goBackCommunity();
	};

	return Model;
});
